package com.itheima.service;

import com.itheima.domain.Admin;
import com.itheima.domain.PageBean;

import java.util.List;

public interface AdminService {
    public PageBean<Admin> findAll(String currentPage,String rows);
    public Admin findByUsernameAndPassword(String username,String password);
    public void deleteByAid(Integer id);

    Admin findByUsername(String username);

    void saveAdmin(Admin admin);
}
